<template>
	<view class="page">
		<view class="container" :style="{ 'height': windowHeight + 'upx' }">

			<view class="item-wrapper">
				<navigator url="school/school">
					<view class="item">
						<image src="../../static/res/school2.png" class="img"></image>
						<text class="school">学校</text>
						<image src="@/static/icons/left-gray-arrow.png" class="right"></image>
					</view>
				</navigator>

			</view>
			

			<view class="item-wrapper">
				<navigator url="./clazz/clazz">
					<view class="item">
						<image src="../../static/res/class.png" class="img"></image>
						<text class="school">班级</text>
						<image src="@/static/icons/left-gray-arrow.png" class="right"></image>
					</view>
				</navigator>

			</view>

			<view class="item-wrapper">
				<navigator url="student/student">
					<view class="item">
						<image src="../../static/res/student.png" class="img"></image>
						<text class="school">学生</text>
						<image src="@/static/icons/left-gray-arrow.png" class="right"></image>
					</view>
				</navigator>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				windowHeight: 0,
			}
		},
		onReady() {
			uni.getSystemInfo({
				success: (res) => {
					this.windowHeight = res.windowHeight * 2;
				}
			})
		},
		methods: {

		}
	}
</script>

<style>
	@import url("data.css");
</style>
